import http from "../common/http.js"

export default {
	//用户中心
	userindex: (data,needLoading) => {
		return http.GET('/user/index', data,needLoading) 
	},
	//订单列表
	getorderlist: (data,needLoading) => {
		return http.GET('/order/list', data,needLoading) 
	},
	// jssdk配置接口
	jsConfig: (data,needLoading) => {
		return http.POSTJSON('/store/js-config', data,needLoading) 
	},
	// 是否审核
	mpAudit: (data,needLoading) => {
		return http.GET('/store/mp-audit', data,needLoading) 
	},
	getStoreIdByAggregate: (data,needLoading) => {
		return http.GET('/store/get-store-by-aggregate', data,needLoading) 
	}
}
